
<ag-grid-angular #grid
                 style="width: 100%;" [ngStyle]="{ height: height }" class="ag-theme-balham"
                 enableColResize="true"
                 enableSorting="true"
                 enableFilter="true"
                 suppressLoadingOverlay="true"
                 [rowData]="rowData"
                 [gridOptions]="gridOptions"
                 [columnDefs]="columnDefs"
                 [localeText]="localeText">
</ag-grid-angular>

<div>
  <apes-pagination  [(apesPageIndex)]="currentPage" [apesTotal]="total" [apesSize]="'small'"
                    [apesPageSize]="pageSize"
                    (apesPageIndexChange)="onPageIndexChange()"
                    [apesShowTotal]="totalTemplate"></apes-pagination>
  <ng-template #totalTemplate let-total>
    &nbsp;{{pageSize*currentPage - pageSize + 1}} ~ {{pageSize*currentPage}} - {{pageSize}}条/页 - 共 {{total}} 条
  </ng-template>
</div>
